import request from './request'

// 测试上传
export const upload = (file) => {
  return request({
    url: '/test/file',
    method: 'put',
    data: { file: file },
    headers: {
      isToken: true,
      repeatSubmit: false,
      'Content-Type': 'multipart/form-data'
    }
  })
}
